<?php
return array(
	//'配置项'=>'配置值'
    //huomao配置
    "HUOMAO_API" => "http://www.huomao.com/channels/channel.json?page=%s&page_size=120&cache_time=1469674842&game_url_rule=all",
    "HUOMAO_GAME" => array('32'=>'ylxx','17'=>'lol', '23'=>'dota2', '13'=>'hearthstone', '11'=>'starcraft', '53'=>'zhuji','103'=>'overwatch'),
    "HUOMAO_VIEWS" => "http://www.huomaotv.com/%s/",
    //龙珠配置
    "LONGZHU_API" => "http://api.plu.cn/tga/streams/?game=0&max-results=%d&start-index=%s&sort-by=top&filter=0",
    "LONGZHU_GAME" => array('lol'=>'lol','cf'=>'cf','smite'=>'smite','sc'=>'starcraft','pcconsole'=>'zhuji','minecraft'=>'minecraft','ow'=>'overwatch'),
    "LONGZHU_VIEW" => "httpL//star.longzhu.com/%s",
    //虎牙配置
    "HUYA_API" => "http://www.huya.com/index.php?m=Live&do=ajaxAllLiveByPage&page=%s",
    "HUYA_GAME" => array("1"=>'lol',"4"=>'cf', "1732"=>"minecraft","7"=>"dota2","393"=>'hearthstone',"8"=>"wow","5"=>"starcraft","2174"=>"overwatch"),
    "HUYA_VIEW" => "http://www.huya.com/%s",
    //战旗配置
    "ZHANQI_API" => "http://www.zhanqi.tv/api/static/live.hots/30-%s.json",
    "ZHANQI_GAME" => array('英雄联盟'=>'lol','DOTA2'=>'dota2','炉石传说'=>'hearthstone','我的世界'=>'minecraft','星际争霸2'=>'starcraft','守望先锋'=>'overwatch'),
    "ZHANQI_VIEW" => "http://www.zhanqi.tv/%s",






















    //数据库配置
        /* 数据库设置 */
    'DB_TYPE'               =>  'mysql',     // 数据库类型
    'DB_HOST'               =>  '127.0.0.1', // 服务器地址
    'DB_NAME'               =>  'test',          // 数据库名
    'DB_USER'               =>  'root',      // 用户名
    'DB_PWD'                =>  'root',          // 密码
    'DB_PORT'               =>  '3306',        // 端口
    'DB_PREFIX'             =>  '',    // 数据库表前缀
    'DB_PARAMS'          	=>  array(), // 数据库连接参数
    'DB_DEBUG'  			=>  TRUE, // 数据库调试模式 开启后可以记录SQL日志
    'DB_FIELDS_CACHE'       =>  true,        // 启用字段缓存
    'DB_CHARSET'            =>  'utf8',      // 数据库编码默认采用utf8
    'DB_DEPLOY_TYPE'        =>  0, // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
    'DB_RW_SEPARATE'        =>  false,       // 数据库读写是否分离 主从式有效
    'DB_MASTER_NUM'         =>  1, // 读写分离后 主服务器数量
    'DB_SLAVE_NO'           =>  '', // 指定从服务器序号

);